/*
reflect
https://www.bilibili.com/video/BV1gf4y1r79E/?p=23&spm_id_from=pageDriver&vd_source=8bd7b24b38e3e12c558d839b352b32f4
*/
package main

import (
	"fmt"
	"reflect"
)

func reflectNum(arg interface{}) {
	fmt.Println("type = ", reflect.TypeOf(arg))
	fmt.Println("value = ", reflect.ValueOf(arg))
}

func main() {
	var num float64 = 1.2345
	fmt.Println(num)
	reflectNum(num)
}
